package pkg

import (
	"fmt"
	"github.com/Baidu-AIP/golang-sdk/aip/censor"
)

func VideoRabbitMq() {
	client := censor.NewClient("DjO2hL1Aef8gteuNKfZSG0hE", "E9BGqQMCSNkPTIipoWSZk6A5Fpm55vnP")
	//如果是百度云ak sk,使用下面的客户端
	//client=censor.NewCloudClient("ak","sk")

	//视频url路径
	var videoData map[string]interface{}
	fmt.Println(videoData)
	res := client.VideoCensor("视频名字", "http://FtCoVpyrdtGH5HR631GPlK1cFZY6/8.14效果展示.mp4", "", nil)
	fmt.Println(res)
	//如果有非必须参数

}
